type CardType = {
  cardType?: string;
  cardTitle?: string;
  content?: {
    avatar?: string;
    text?: {
      firstLine?: string;
      secondLine?: string;
      titleLine?: string;
      optionalLines?: Array<{ type: string; content: string }>;
      contentList?: string[];
      formatting?: {
        listType?: "ordered" | "unordered";
        truncateLimit?: number;
        expandable?: boolean;
      };
    };
    media?: {
      video?: {
        cover?: string;
        resolution?: string;
        duration?: string;
      };
    };
    layout?: "左右结构" | "上下结构";
    image?: string;
    case_title?: string;
    case_content?: string;
    name?: string;
    hospital?: string;
    expertise?: string;
  };
  action?: {
    buttonName?: string;
    buttonLink?: string;
    primaryButton?: {
      text?: string;
      deepLink?: string;
      analyticsEvent?: string;
    };
  };
  button?: {
    name?: string;
    link?: string;
  };
  description?: {
    layout?: "左右结构" | "上下结构";
    image?: string;
    content?: {
      title?: string;
      date?: string;
    };
  };
  progress?: {
    currentStep?: number;
    totalSteps?: number;
    progressType?: string;
  };
};

export const cardType: Record<string, string> = {
  '助手推荐': 'recommend',
  '资讯列表': 'list',
  '专委会助手': 'recommend',
  '通用卡片': 'article',
  '相关内容列表': 'all'
}